Subject: [amos-list] Vs: Cool effects, etc
From: "Sasu Lintula" <[email-masked]>
To: "Amos-list" <[email-masked]>
Date: Sun, 11 Jul 1999 19:36:30 +0300

From:	"Sasu Lintula" <[email-masked]>

Hi all,
what I explained to Leto of Set Bob 'bitmap'-values wasn't of course correct
at all. Here's real results what you get when using Set Bob -command on a
screen with 4 bitplanes:

'bitplanes'    bgcol    result
%1                    0            1
                          1            1
                          2            3
                          3            3
                          4            5
                          5            5, etc...
This happens when you use odd numbered colour in your bob.
The result is opposite 1=>0, etc. when using even numbered colours.

%10                  0           0
                          1            1
                          2            0
                          3            1
                          4            4
                          5            5
                          6            4
                          7            5, etc...
Like before effects are opposite when use even colours.

%11                  0            1
                          1            1
                          2            1
                          3            1
                          4            5
                          5            5
                          6            5
                          7            5
                          8            9, etc...
This happens when you use ink 1 in your bob. If you have f.e.x colour 2 in
your
bob results will be: bgcol 0 to 3 => 2, 4 to 7 =>6, etc...
The results'll be same for every fourth colour so there's no point using any
other
colours in bob than 0 to 3.

%110                0            0
                           1            1
                           2            0
                           3            1
                           4            0
                           5            1,...
                       ...,8            8
                           9            9
                         10            8, etc...
This happens when using ink 1 (or 0). Like before the results'll change when
bobs
colour is other than 0/1. There's no point using more than lower eight
colours for
bob as the results'll be same on every 8th colours.

%111                0            1
                           1            1
                           2            1,...
                       ,...7            1
                           8            9
                           9            9, etc...
Like before the result colours are dependent from bob colours.

%1110              0            0
                           1            1
                           2            0
                           3            1,...
                     ,...14            0
                         15            1
This is what I used in creating transparent explosions. All colours
will be masked to those two colours used to draw bob (0/1,2/3,4/5,...).

%1111            This is normal bob - all bitplanes in use.

Hope this help you to create nasty effects:)
btw, it's vice to use Set Bob command when you have bobs that don't use all
bitplanes.
Mask out all unnecessary bitplanes and you can easily double number of bobs
/ vbl.

[Sasu Lintula]

--------------------------- ONElist Sponsor ----------------------------

ONElist:  your connection to people who share your interests.

------------------------------------------------------------------------
Official AMOS WWW: http://members.xoom.com/AmosFactory/front.html